#include <iostream>
#include "httplib.h"

using namespace httplib;
int main()
{
    httplib::Server svr;
    svr.Get("/hi",[](const Request& req,Response& res){
        res.set_content("hello world!","text/plain");
    });
    svr.listen("0.0.0.0",8888);
    return 0;
}